import java.io.Serializable;


public class Message implements Serializable {
	private static final long serialVersionUID = -2723363051271966964L;

	private OperationType operation;
	private String description;
	private String itaWord;
	private String engWord;
	private boolean hasError;
	
	public Message(OperationType operation, String description) {
		super();
		this.operation = operation;
		this.description = description;
	}

	public OperationType getOperation() {
		return operation;
	}

	public void setOperation(OperationType operation) {
		this.operation = operation;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getItaWord() {
		return itaWord;
	}

	public void setItaWord(String itaWord) {
		this.itaWord = itaWord;
	}

	public String getEngWord() {
		return engWord;
	}

	public void setEngWord(String engWord) {
		this.engWord = engWord;
	}

	public boolean hasError() {
		return hasError;
	}

	public void setHasError(boolean hasError) {
		this.hasError = hasError;
	}

	
}
